class CreateSearchqueries < ActiveRecord::Migration
  def self.up
    create_table :searchqueries do |t|
      t.string :query
      t.integer :count
    end

    add_index(:searchqueries, :query, :unique => true)
  end

  def self.down
    drop_table :searchqueries
  end
end
